﻿@model IList<ProductPhoto>

<div class="row gallery-row">
    @foreach (var photo in Model)
    {
                        <!-- single image -->
        <div class="col-xs-3">
            <div class="panel panel-default">
                <div class="panel-body">
                    <img class="img-responsive img-rounded" alt="picture" src="@photo.ImgURL" />
                </div>
                <div class="panel-footer">
                    <a href="#" data-url="@Url.Action("DeletePhoto", new {Id = photo.Id})" class="btn btn-sm btn-danger deletePhoto-item" title="删除"><i class="fa fa-trash-o"></i> 删除</a>
                </div>
            </div>          
        </div>
    }
</div>